//
//  TravelCell.m
//  didacar
//
//  Created by 度周末网络-王腾 on 15/12/17.
//  Copyright © 2015年 dzmmac. All rights reserved.
//

#import "TravelCell.h"
#import "UILabel+Yyx.h"
#import "RegularBusLineModel.h"
@implementation TravelCell
- (void)awakeFromNib {
    self.status.layer.cornerRadius = 2;
    self.status.layer.masksToBounds=YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

-(void)showModel:(MyTripDetailEntity *)regularBusLinewModel
{

    
    if (regularBusLinewModel == nil) {
        return;
    }
    self.startTime.text = regularBusLinewModel.SendTime;
    self.startLocation.text = regularBusLinewModel.StartStation;
    self.endLocation.text = regularBusLinewModel.EndStation;

    self.status.hidden = NO;
    
  
}

@end
